<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>地址空 - 娃娃Get抓娃娃</title>


    <link rel="stylesheet" href="assets/css/bootstrap.min.css" />
    <link rel="stylesheet" href="assets/js/swiper-4.4.2/swiper.min.css" />
    <link rel="stylesheet" href="assets/css/sweetalert.min.css" />
    <link rel="stylesheet" href="assets/css/main.css" />

    <script src="assets/js/jquery.slim.min.js"></script>
    <script src="assets/js/popper.min.js"></script>
    <script src="assets/js/bootstrap.min.js"></script>
    <script src="assets/js/swiper-4.4.2/swiper.min.js"></script>
    <script src="assets/js/sweetalert.min.js"></script>
    <script src="assets/js/common.js"></script>




</head>
<body class="main-color">

<!--start address item-->
<div class="container " >
    <div class="empty-tip">
        <p>没有收货地址</p>
        <p>快去添加吧，方便我们给您送娃娃</p>
        <img  src="assets/images/empty-img.png" alt="">
    </div>
</div>
<!--end address item-->




<a href="address-add.html" class="address-add-btn">添加</a>

</body>


<script>
    $('.icon-trash').click(function(){
        if($('.address-item').length==1) {
            swal('','最后一个地址不能删除','error')
            return false;
        }
        $(this).parents('.address-item').remove();
        swal('','删除地址成功','success')
    })


</script>














</html>